package com.zzyl.service;

import com.zzyl.base.PageResponse;
import com.zzyl.dto.NursingLevelDto;
import com.zzyl.vo.NursingLevelVo;
import org.apache.ibatis.javassist.NotFoundException;

import java.util.List;

public interface NursingLevelService {
    List<NursingLevelVo> getAll();

    PageResponse<NursingLevelVo> getByPage(String name, Integer status, Integer pageNum, Integer pageSize);

    void add(NursingLevelDto nursingLevelDTO);

    NursingLevelVo getById(Integer id);

    void update(NursingLevelDto nursingLevelDTO);

    void deleteById(Long id) throws NotFoundException;

    void updateStatus(Long id, Integer status);
}
